package it.must.myspringboot.service;

import org.springframework.stereotype.Service;

/**
 * @Author zj@uinpay.cn
 * @Date 2024/12/6 15:42
 */
public class ManService {

    public String getName(String name) {
        return "is;" + name;
    }


    public String catchTest(String name) {
        if (name.equals("aaa")) {
            throw new RuntimeException("错误");
        }
        return name;
    }
}
